package com.framework.bdf4j.sysadm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.github.liaochong.myexcel.core.annotation.IgnoreColumn;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * IDE权限对象 sys_idepermission
 * 
 * @author cfss
 * @date 2020-07-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysIdepermission extends Model<SysIdepermission> {
    private static final long serialVersionUID = 1L;

    /**
     * PK
     */
    @IgnoreColumn
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    /**
     * 权限名称
     */
    private String permName;
    
    /**
     * 权限代码
     */
    private String permCode;
	@TableField(exist = false)
	private boolean checked;
}
